package com.fast.model;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * api-用户对象
 *
 * @author liuliang
 * @date 2018/4/19
 */
@Data
@ToString
public class ProjectModel implements Serializable {

    private static final long serialVersionUID = 9079072359702866535L;
    /**
     * 应用id，比如media-adapter(用于区分业务线内的不同应用)
     */
    //@NotBlank(message = "缺失业务信息")
    private String appId;

    /**
     * 业务线标记
     * ： x-source
     * [magic,mediax,meeting,rongmei,data]
     * 暂时不做合法校验
     *
     * @see com.shuwen.mediax.media.manage.api.client.constants.BizNameEnum
     */
    private String bizName;

    /**
     * 业务线id,比如magic(用于区分不同业务线)
     */
    // @NotBlank(message = "缺失业务信息")
    private String projectId;

    public ProjectModel(String appId, String projectId) {
        this.appId = appId;
        this.projectId = projectId;
    }
}
